#ifndef _SHELL_MEMBERBEAN_BEAN_H_
#define _SHELL_MEMBERBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class MemberBean : public Bean
{
	public:
	MemberBean();
	~MemberBean();
	void reset();
	MemberBean* clone();
	//角色id
	int64 playerId;
	//1普通。2长老。3副帮主。4帮主
	int8 gangJob;
	//角色名称
	string playerName;
	//贡献
	int32 gongXian;
	//角色等级
	int8 level;
	//离线多少分钟
	int32 lostLoginTime;
	//角色战力
	int32 force;
	//是否在线0否1是
	int8 isOnline;
	//玩家职业类型
	int8 playerType;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
